projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f07be
)
sh: sh2a: Add sh2a optimize to config.mk
author
Nobuhiro Iwamatsu
<
[email protected]
>
Thu, 9 Jun 2011 06:03:34 +0000
(15:03 +0900)
committer
Nobuhiro Iwamatsu
<
[email protected]
>
Mon, 22 Aug 2011 04:16:08 +0000
(13:16 +0900)
Only the optimization of sh2 had been supported up.
This adds the optimization of sh2a.
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
arch/sh/cpu/sh2/config.mk
patch
|
blob
|
history
diff --git
a/arch/sh/cpu/sh2/config.mk
b/arch/sh/cpu/sh2/config.mk
index f2d40aa22872302c91c0d1364854911b204fc81f..f46b38fa0f0535e1fbb6e272d1f75987587ae1bd 100644
(file)
--- a/
arch/sh/cpu/sh2/config.mk
+++ b/
arch/sh/cpu/sh2/config.mk
@@
-23,6
+23,11
@@
#
ENDIANNESS += -EB
+ifdef CONFIG_SH2A
+PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb -mno-fdpic -ffreestanding
+else # SH2
PLATFORM_CPPFLAGS += -m3e -mb
+endif
+
PLATFORM_RELFLAGS += -ffixed-r13
PLATFORM_LDFLAGS += $(ENDIANNESS)